package com.neo.pattern.strategy;

import lombok.Data;

/**
 * @author neofaster
 */

@Data
public class CameraControls {
    private Mode mode;
    private FilmSpeed filmSpeed;
    private Aperture aperture;
    private Shutter shutter;


    Aperture pickAperture(LightMeter lightMeter){
       return  mode.getAperturePicker().pick(this, lightMeter);
    }

    Shutter pickShutter(LightMeter lightMeter){
        return mode.getShutterPicker().pick(this,lightMeter);
    }
}
